package com.itheima.travel.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.LinkedHashMap;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cart {


    private int cartNum;//购物车的商品数量
    private double cartTotal;//购物车的总金额


    private LinkedHashMap<Integer, CartItem> cartItemMap = new LinkedHashMap<>();//购物项


}
